<script setup>
import cn from '@arco-design/web-vue/es/locale/lang/zh-cn'
import en from '@arco-design/web-vue/es/locale/lang/en-us'
import { ref } from 'vue'
import { useAppStore } from './store'
const appStore = useAppStore()
const lang = ref(appStore.language === 'zh_CN' ? cn : en)

</script>

<template>
  <div class="ma-ui">
    <a-config-provider :locale="lang">
      <NuxtLayout>
        <NuxtPage />
      </NuxtLayout>
    </a-config-provider>
  </div>
</template>